//
//  ZJPendApprovallToDoListModel.h
//  ZJControlsClass
//
//  Created by apple on 2024/11/7.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN


@interface ZJStartUserModel : NSObject

@property (nonatomic,copy) NSString * companyName;
@property (nonatomic,copy) NSString * id;
@property (nonatomic,copy) NSString * name;
@property (nonatomic,copy) NSString * orgName;
@property (nonatomic,assign) BOOL selected;
@property (nonatomic,copy) NSString * sex;
@property (nonatomic,copy) NSString * type;

@end


@interface transMapModel : NSObject

@end



@interface ZJUserModel : NSObject

@property (nonatomic,copy) NSString * avatar; // 头像
@property (nonatomic,copy) NSString * companyId; // 所属公司编号
@property (nonatomic,copy) NSString * id; // 用户 ID
@property (nonatomic,assign) NSInteger isApply; // 是否是申办专员
@property (nonatomic,assign) NSInteger isRecord; // 是否备案
@property (nonatomic,copy) NSString * mobile; // 手机号码
@property (nonatomic,copy) NSString * nickname; // 用户昵称
@property (nonatomic,copy) NSString * orgId; // 部门编号
@property (nonatomic,strong) NSArray * postIds;
@property (nonatomic,assign) NSInteger status;// 帐号状态
@property (nonatomic,strong) transMapModel * transMap;

@end



@interface ZJPendApprovallToDoListModel : NSObject


@property (nonatomic,copy) NSString * businessStatus; //审批状态
@property (nonatomic,copy) NSString * currentActivityName; //当前节点
@property (nonatomic,copy) NSString * delegationState; //委派状态,可用值:PENDING,RESOLVED
@property (nonatomic,copy) NSString * duration; // 耗时
@property (nonatomic,copy) NSString * endTime; // 结束时间
@property (nonatomic,copy) NSString * nodeId; // 节点id
@property (nonatomic,copy) NSString * processDefinitionName; // 审批类型
@property (nonatomic,copy) NSString * processInstanceId; // 审批id
@property (nonatomic,copy) NSString * result; // 审批
@property (nonatomic,copy) NSString * startTime; // 开始时间
@property (nonatomic,strong) ZJStartUserModel * startUser;
@property (nonatomic,copy) NSString * taskCreatedTime; // 任务到达时间
@property (nonatomic,copy) NSString * taskId; // 任务id
@property (nonatomic,copy) NSString * taskName; // 任务名称
@property (nonatomic,strong) ZJUserModel * users;






@end

NS_ASSUME_NONNULL_END
